<!--
 * @Author: cqg
 * @Date: 2020-12-14 11:15:42
 * @LastEditTime: 2021-04-21 15:08:08
 * @Description: file content
 * @LastEditors: xjt
-->
 <template>
  <div class="basic-from">
    <el-form :model="form" class="form-wrap">
      <p class="title full">合同信息</p>
      <el-form-item label="合同编号" prop="contractNum">
        <el-input v-halfCharCode v-model="form.contractNum" suffix-icon="el-icon-search" disabled @focus="openChooseDialog('contract')" />
      </el-form-item>
      <el-form-item label="合同类型" prop="contractType">
        <el-select clearable v-model="form.contractType" placeholder="-=请选择=-" disabled>
          <el-option v-for="item in epcContractTypes" :key="item.value" :label="item.label" :value="item.value" />
        </el-select>
      </el-form-item>
      <el-form-item label="合同总金额（元）" prop="contractAmount">
        <el-input :value="form.contractAmount | thousandMoney" disabled />
      </el-form-item>
      <el-form-item label="签订日期" prop="contractDate">
        <el-date-picker v-model="form.contractDate" type="date" placeholder="选择日期" disabled />
      </el-form-item>
      <el-form-item label="乙方单位名称" prop="partybUnit">
        <el-input v-halfCharCode v-model="form.partybUnit" disabled />
      </el-form-item>
      <p class="title full">验收信息</p>
      <el-form-item label="验收日期" prop="acceptDate">
        <el-date-picker v-model="form.acceptDate" value-format="yyyy-MM-dd" type="date" placeholder="选择日期" disabled />
      </el-form-item>
      <el-form-item label="验收结果" prop="acceptResult">
        <el-select clearable v-model="form.acceptResult" placeholder="-=请选择=-" disabled>
          <el-option v-for="item in epcAcceptResult" :key="item.value" :label="item.label" :value="item.value" />
        </el-select>
      </el-form-item>
      <el-form-item label="备注" prop="remarks" class="full">
        <el-input v-halfCharCode type="textarea" disabled placeholder="请输入" v-model="form.remarks" />
      </el-form-item>
      <p class="title full">附件</p>
    </el-form>

    <v-upload :busId="form.projectAcceptId" modelType="acceptance" v-model="uploadFileList" :isView="true" />
  </div>
</template>
 
 <script>
import OverviewMixins from '../public/overviewMixins'
export default {
  mixins: [OverviewMixins],
  name: 'acceptDetails',
  props: ['form'],
}
 </script>
 